]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
TelepathyClient: fix ackowledging chat messages
authorGiovanni Campagna <gcampagna@gnome.org>
Tue, 17 Mar 2015 20:06:51 +0000 (13:06 -0700)
committerGiovanni Campagna <gcampagna@gnome.org>
Fri, 27 Mar 2015 20:10:52 +0000 (13:10 -0700)
ChatSource relies on the 'expanded' signal on the banner to
ack messages, but no code ever emits that.

https://bugzilla.gnome.org/show_bug.cgi?id=746364

js/ui/calendar.js

index a79fd7e9f5ecf712070ce761db40c766750cc1e1..38263e56e9dbde246f012c0c61fcedd3a1a7c2a2 100644 (file)
@@ -1106,6 +1106,8 @@ const Message = new Lang.Class({
             this._bodyStack.layout_manager.expansion = 1;
             this._actionBin.scale_y = 1;
         }
+
+        this.emit('expanded');
     },
 
     unexpand: function(animate) {
@@ -1128,6 +1130,8 @@ const Message = new Lang.Class({
             this._actionBin.scale_y = 0;
             this.expanded = false;
         }
+
+        this.emit('unexpanded');
     },
 
     canClose: function() {